<%--
  Created by IntelliJ IDEA.
  User: 冲塔怪
  Date: 2022/4/30
  Time: 21:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/login" method="get">
    <input type="hidden" name="action" value="login">
    <table>
        <tr>
            <td>用户名:</td>
            <td><input type="text" name="name" placeholder="请输入用户名"></td>
        </tr>
        <tr>
            <td>密码:</td>
            <td><input type="password" name="password" placeholder="请输入密码"></td>
        </tr>
        <tr>
            <td>登录系统:</td>
            <td><input type="radio" name="system" checked="checked" value="user">用户页面 <input type="radio" name="system" value="root">后台管理</td>
        </tr>

        <tr>
            <td><input type="submit" value="登录"></td>
            <td><button><a href="${pageContext.request.contextPath}/jsp/user/register.jsp">注册</a></button></td>
        </tr>
    </table>




</form>
</body>
</html>
